package com.ruge._05_springboot_web.config.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends Exception {
    private String method = this.getClass().getName()+":"+Thread.currentThread().getStackTrace()[1].getMethodName();   //发生的方法，位置等
    private String descinfo;   //描述
}
